include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/BasicUsageEnvironment/include
  ${CMAKE_CURRENT_SOURCE_DIR}/groupsock/include
  ${CMAKE_CURRENT_SOURCE_DIR}/liveMedia/include
  # ${CMAKE_CURRENT_SOURCE_DIR}/mediaServer/include  
  ${CMAKE_CURRENT_SOURCE_DIR}/UsageEnvironment/include
)
add_definitions(-DNO_OPENSSL)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/BasicUsageEnvironment  LIBSRC)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/groupsock  LIBSRC)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/liveMedia  LIBSRC)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/UsageEnvironment  LIBSRC)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/srcClient  LIBSRC)
add_library(rtsp ${LIBSRC})